Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 2.68 KB

Reinstalling the Extension.md

File metadata and controls

32 lines (20 loc) · 2.68 KB

Incompatible or Mismatched C/C++ Extension Binaries

The C/C++ extension includes native binaries.

When installed via the marketplace UI in VS Code, the correct native binaries should be included. If incompatible binaries were detected and the C/C++ extension had been installed via the marketplace UI in VS Code, please report the issue.

Reinstalling the C/C++ Extension

When reinstalling an equivalent version of an extension, VS Code may reuse the existing extension directory. To prevent this from occurring when reinstalling the C/C++ extension, it may be necessary to first delete the existing extension directory.

Installed extension directories can be found under one of the following paths under your user directory (`%USERPROFILE%` on Windows, or `$HOME` on Linux and macOS)

%USERPROFILE%\.vscode\extensions
%USERPROFILE%\.vscode-insiders\extensions
%USERPROFILE%\.vscode-exploration\extensions

In a remote connection:

$HOME/.vscode-server/extensions
$HOME/.vscode-server-insiders/extensions
$HOME/.vscode-server-exploration/extensions

Example paths to installed C/C++ extension directories:

On Windows:

%USERPROFILE%\.vscode\extensions\ms-vscode.cpptools-1.9.0

On Linux:

$HOME/.vscode/extensions/ms-vscode.cpptools-1.9.0

Then reinstall via the marketplace UI in VS Code.

If the correct version of the extension fails to be deployed by VS Code, the correct VSIX for your system can be downloaded from the VS Code marketplace web site and installed using the 'Install from VSIX...' option under the '...' menu in the marketplace UI in VS Code.

close